#include<stdio.h>
int main()
{
	int arr[15]={0};
	int i=0;
	for(i=0;i<15;i++)
	{
		
		scanf("%d",&arr[i]);
	}
	int a=0;
	scanf("%d",&a); 
	int left=0;
	int right=14;
	
	while((right-left)>=0)
	{
		 
		int mid=left+(right-left)/2;
		if(a>arr[mid])
			right=mid-1;
		if(a<arr[mid])
			left=mid+1 ;
		if(a==arr[mid])
		{
			printf("%d",mid+1);
			break;
		}		
		 
	}
	if(left>right)
		printf("无此数");
	return 0;
}
